const routes = [
    {name:"Login",
        path:"/login",
        component: () => import('@/pages/login.vue')},
    {name:"Index",
        path:"/index",
        component: () => import('@/pages/index'),
        children:[
            {name:"Buy",
                path:"/index/buy",
                component: () => import('@/pages/buy/buy')},
            {name:"BuyInfo",
                path:"/index/buyInfo",
                component: () => import('@/pages/buy/buyInfoManager')},
            {name:"Sell",
                path:"/index/sell",
                component: () => import('@/pages/sell/sell')},
            {name:"SellInfo",
                path:"/index/sellInfo",
                component: () => import('@/pages/sell/sellInfoManager')},
            {name:"SellCount",
                path:"/index/sellCount",
                component: () => import('@/pages/count/sellCount')},
            {name:"Save",
                path:"/index/save",
                component: () => import('@/pages/save/saveManager')},
            {name:"User",
                path:"/index/user",
                component: () => import('@/pages/user/userManager')},
            {name:"UpdatePwd",
                path:"/index/updatePwd",
                component: () => import('@/pages/user/updatePwd')}
        ]},

];

export default routes ;
